package com.sbj.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @author summer
 * @version 1.0
 * @date 2024/8/10 23:25
 * 抢单时间
 */
@Data
@TableName("order_time")
public class OrderTime implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("start_time")
    private LocalTime startTime;

    @TableField("end_time")
    private LocalTime endTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    private Integer state;

    @TableLogic
    private Integer deleted;


    @TableField("count_down")
    private Integer countDown;

}
